.login {
  width: 100%;
  padding: 50rpx 36rpx 154rpx 36rpx;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  .address-add {
    width: 100%;
    background-color: #e7e7e7;
    border-radius: 2rpx;
    z-index: 100;
    padding: 30rpx 33rpx;
    padding-bottom: calc(env(safe-area-inset-bottom) + 30rpx);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    box-shadow: 0rpx -2rpx 10rpx 0rpx rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
  }

  .switch {
    margin-left: 20rpx;
  }

  .auth-phone {
    font-size: 24rpx;
    margin-left: 20rpx;
    line-height: 32rpx;
    color: var(--main-color);
    border-bottom: 2rpx solid var(--main-color);
  }
}

.agreement {
  display: flex;
  align-items: center;
  margin-top: 20rpx;
  font-size: 24rpx;
  color: #000;
  &-checkbox {
    width: 28rpx;
    height: 28rpx;
    border-radius: 2rpx;
    overflow: hidden;
    background: transparent;
    margin-right: 20rpx;
    border: 2rpx solid #000;
  }
  &-checkbox.checked {
    border-color: #c9a063;
    background: #c9a063;
  }
  // css 对号 要求不使用图片
  &-checkbox.checked::after {
    content: '';
    display: block;
    width: 8rpx;
    height: 14rpx;
    border: solid #fff;
    border-width: 0 3rpx 3rpx 0;
    transform: rotate(45deg);
    position: relative;
    left: 8rpx;
    top: 4rpx;
  }

  .agreement-link {
    text-decoration: underline;
  }
}

.address-picker {
  display: flex;
  align-items: center;
  width: 100%;
  picker {
    width: calc(100% / 3);
  }
  .address-picker-item {
    display: flex;
    font-size: 24rpx;
    color: #999;
    align-items: center;
    justify-content: space-between;
    height: 88rpx;
    background-color: #fff;
    border-radius: 2rpx;
    padding: 0 20rpx;
    box-sizing: border-box;
    image {
      width: 20rpx;
      height: 20rpx;
    }
  }
}

.auth-popup {
  height: 770rpx;
  background: #fff;
  z-index: 1000;
  padding: 50rpx 35rpx;
  box-sizing: border-box;
  border-top-left-radius: 29rpx;
  border-top-right-radius: 29rpx;
  &-logo {
    width: 150rpx;
    margin-bottom: 65rpx;
  }
  &-title {
    font-size: 26rpx;
    color: #545454;
    font-weight: bold;
    margin-bottom: 45rpx;
  }
  &-input {
    width: 100%;
    box-sizing: border-box;
    height: 117rpx;
    border-radius: 2rpx;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30rpx;
    margin-bottom: 18rpx;
    font-size: 23rpx;
    color: #545454;
    .inp-box {
      flex: 1;
      .inp {
        text-align: right;
      }
    }
    .img {
      width: 84rpx;
      height: 84rpx;
      border-radius: 12rpx;
      overflow: hidden;
      padding: 0;
      margin: 0;
    }
  }
  &-tip {
    font-size: 23rpx;
    color: var(--main-color);
    margin-top: 38rpx;
  }
  &-footer {
    margin-top: 80rpx;
  }
}
